package cc.linker.steplink.crm.support.services;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 计划做定时任务分离，暂时无引用
 * 模块分离有两种，有时需结合使用 
 * 1. 按照包分 2. 按照模块分
 */
@Configuration
public class ServicesConfiguration {
    
    @Bean("autoMarkCustomerTask")
    public AutoMarkCustomerTask autoMarkCustomerTask(){
        return new AutoMarkCustomerTask();
    }

    @Bean("precisePushTask")
    public PrecisePushTask precisePushTask(){
        return new PrecisePushTask();
    }

    @Bean("awakenTask")
    public AwakenTask awakenTask(){
        return new AwakenTask();
    }
}
